﻿using System.Collections.Generic;

namespace DotNetNuke.Modules.DNNFiddle.Data
{

    public interface IFiddleDataService
    {
        FiddleInfo GetFiddle(int moduleId);
        FiddleViewModel GetFiddleDTO(int moduleId);
        List<FiddleScriptsInfo> ListFiddleScripts(int moduleId);
        void DeleteFiddle(int moduleId);
        void DeleteFiddleScript(int scriptId);
        void SaveFiddle(FiddleInfo fiddleInfo);
        int SaveFiddleScript(int moduleId, int userId, FiddleScriptsInfo script);
    }
}
